package component.controller;

import component.USER.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
public class UserBeans {
    //@Scope("prototype")
    @Bean("aaa")
    public User get(){
        User user =new User();
         System.out.println("第一次测试");
        return user;
    }


}
